<?php
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
?>


<?

//接收需要修改的数据的id
$new_detail_nid = addslashes($_REQUEST['nid']);


include_once("modules/mod-images-upload-function.php");


//设置需要搜索的表格的前缀后缀
$table        = $table_Prefix . "banner";

$sql=update_date($table,$_REQUEST,"nid",$new_detail_nid);

$query = do_query($sql) or die ($sql);
mysqli_close($con);

?>



<?

$nowpageid = $_GET["nowpageid"];

?>


<script type="text/javascript">

     alert("输入信息已保存，点击确认返回继续操作.");
     document.location.href = "detail-list.php?nowpageid=<? echo $nowpageid ?>&sortby=<? echo $sortby?>&nid=<? echo $term_nid ?>&sys_part=banner"

</script>


</body>